<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>拖拽排序</title>
    <link rel="stylesheet" href="./index.css" />
    <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/Sortable/1.14.0/Sortable.min.js"></script>
    <script src="./index.js"></script>
  </head>
  <body>
    <div id="container">
      <article class="col">
        <img class="col-avatar" src="./a.jpg" />
        <div class="col-name">
          <h3>小狗</h3>
          <p>这是一个可爱的小狗</p>
        </div>
      </article>
      <article class="col">
        <img class="col-avatar" src="./b.jpg" />
        <div class="col-name">
          <h3>小猫</h3>
          <p>这是一个可爱的小猫</p>
        </div>
      </article>
      <article class="col">
        <img class="col-avatar" src="./c.jpg" />
        <div class="col-name">
          <h3>小孩</h3>
          <p>这是一个可爱的小孩</p>
        </div>
      </article>
    </div>
  </body>
</html>
